package com.ztgf.shopping.mapper.template;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.ztgf.shopping.models.dto.template.TempletInfoDTO;
import com.ztgf.shopping.models.vo.template.TemplateHomePageOrderCountVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 模版  Mapper 接口
 * </p>
 *
 * @author YUE
 * @since 2020-05-23
 */
@Mapper
public interface TempletInfoMapper extends BaseMapper<TempletInfoDTO> {

    /**
     * description: 商城首页用户订单状态统计
     * param: [ShopId]
     * author: chenyu.wang
     * date: 2020-07-31
     * return: com.ztgf.shopping.models.vo.template.TemplateHomePageOrderCountVO
     */
    TemplateHomePageOrderCountVO getHomepageUserOrderStatusStatistics(@Param(value = "shopId") Long shopId);

}
